package com.example.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

/**
 * 返回到指定的activity
 */
public class MainActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        BaseActivity.getInstance().addActivity(MainActivity.this);
    }
    public void click(View view){
        Intent it = new Intent(MainActivity.this,AActivity.class);
        startActivity(it);
    }
}
